package Day2Zuoye;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("输入名称:");
        String i=in.nextLine();
        if (i.endsWith(".rar")||i.endsWith(".zip")){
            System.out.println("合适");
        }else{
            System.out.println("不合适");
        };


    }
}
